-
Notifications
You must be signed in to change notification settings - Fork 168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: provide cyclone base images to build images #1407
Conversation
@@ -1,4 +1,4 @@ | |||
FROM arm64v8/alpine:3.8 | |||
FROM caicloud/cyclone-base-alpine:v1.0.0-arm64v8 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
arm64v8 是不是不要放在 tag 里区分,我感觉放在 project 里区分比较好一些
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
打扰了 dockerhub 不支持
/hold |
/hold cancel |
LGTM |
/lgtm |
/lgtm |
Makefile
Outdated
@@ -37,11 +38,17 @@ IMAGE_SUFFIX ?= $(strip ) | |||
|
|||
# REGISTRY ?= docker.io/library |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
|
||
# Container registry for base images. | ||
# Container registry for build base images. | ||
BASE_REGISTRY ?= docker.io/library |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not update this?
BASE_REGISTRY ?= docker.io/library | ||
|
||
# Container registry for cyclone target base images. | ||
CYCLONE_BASE_REGISTRY ?= docker.io/caicloud |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think not need this, can reuse the REGISTRY
, as target images and base images will been in the same registry
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CYCLONE_BASE_REGISTRY
does not need updating frequently, it's used as base images in the Dockerfiles, and these Dockerfiles Base images will not be updated frequently.
BASE_REGISTRY ?= docker.io/library | ||
|
||
# Container registry for cyclone target base images. | ||
CYCLONE_BASE_REGISTRY ?= docker.io/caicloud |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think not need this, can reuse the REGISTRY
, as the target images and base images will been in the same registry.
CYCLONE_BASE_REGISTRY ?= docker.io/caicloud | ||
|
||
# Version of the cyclone base images. | ||
CYCLONE_BASE_VERSION ?= v1.0.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The prefix CYCLONE_
is not necessary.
CYCLONE_BASE_VERSION ?= v1.0.0 | |
BASE_VERSION ?= v1.0.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In order to keep consistent with CYCLONE_BASE_REGISTRY
.
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: chechaoa, hyy0322, supereagle The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/cherrypick cps-2.10 |
@zhujian7: new pull request created: #1452 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
What this PR does / why we need it:
Add your description
Which issue(s) this PR is related to (optional, link to 3rd issue(s)):
Fixes ##1390
Reference to #
Special notes for your reviewer:
/cc @supereagle @hyy0322 @chechaoa
Release note: